﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 安保巡游者:Minion
    {
        public 安保巡游者():base()
        {
            Star = 4;
            Attack = 2;
            Health = 6;
            Race = race.mech;
        }


        public override void Getdamaged(int n)
        {
            if (Skills[3])
            {
                base.Getdamaged(n);
                return;
            }
            pool.Spawn(pool, Place + 1, new 机器人守卫());
            base.Getdamaged(n);
        }


        public override Minion NewOne()
        {
            return new 安保巡游者();
        }
    }
    class 安保巡游者_金色 : 安保巡游者
    {
        public 安保巡游者_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override void Getdamaged(int n)
        {
            if (Skills[3])
            {
                base.Getdamaged(n);
                return;
            }
            pool.Spawn(pool, Place + 1, new 机器人守卫_金色());
            base.Getdamaged(n);
        }


        public override Minion NewOne()
        {
            return new 安保巡游者_金色();
        }
    }
}
